<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/BSP/dev_bod.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_4ca18d753a70f6eada20fde478bd3fc8.html">BSP</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">dev_bod.h 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p>低电压触发配置  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;SWM341.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
dev_bod.h 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="dev__bod_8h__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__bod_8h" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__bod_8h" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__bod_8h">
<area shape="rect" title="低电压触发配置" alt="" coords="5,5,267,60"/>
<area shape="rect" title=" " alt="" coords="93,108,179,133"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件直接或间接的被哪些文件引用了:</div>
<div class="dyncontent">
<div class="center"><img src="dev__bod_8h__dep__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__bod_8hdep" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__bod_8hdep" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__bod_8hdep">
<area shape="rect" title="低电压触发配置" alt="" coords="1155,5,1416,60"/>
<area shape="rect" href="bsp__init_8h.html" title="板级硬件外设初始化" alt="" coords="1015,108,1273,163"/>
<area shape="rect" href="dev__bod_8c.html" title="低电压触发配置" alt="" coords="1297,108,1559,163"/>
<area shape="rect" href="bsp__init_8c.html" title="板级硬件外设初始化" alt="" coords="5,218,264,273"/>
<area shape="rect" href="_flash_disk_8c.html" title="管理片外 SPI―Flash 的读写, 对接 FATFS 组件" alt="" coords="288,211,512,280"/>
<area shape="rect" href="load__mv_8c.html" title="播放 avi / wav 音视频" alt="" coords="536,211,760,280"/>
<area shape="rect" href="power__manager_8c.html" title=" " alt="" coords="784,211,1008,280"/>
<area shape="rect" href="userboot_8c.html" title="IAP 实现 UserBoot 功能" alt="" coords="1032,211,1256,280"/>
<area shape="rect" href="ui__boot_8c.html" title="开机动画/视频页, 挂载文件系统完成主页素材的导入" alt="" coords="1281,218,1522,273"/>
<area shape="rect" href="ui__update_8c.html" title="启动引导更新页, 挂载文件系统实现 UI 素材导入/更新(可选模块)" alt="" coords="1547,211,1765,280"/>
<area shape="rect" href="_mass_storage_8c.html" title=" " alt="" coords="1790,211,2031,280"/>
<area shape="rect" href="main_8c.html" title="主程序" alt="" coords="2056,218,2275,273"/>
</map>
</div>
</div>
<p><a href="dev__bod_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:a2431943c0d4f3e45d7afe0d9acc6e810"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810">BOD_IntV_t</a> { <br />
&#160;&#160;<a class="el" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810aaf1e474298b85c65edb7e5ac45b2c657">INT_1900_mv</a> = 0
, <a class="el" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a3cfaa11079b6f739323ab826097f0ff1">INT_2100_mv</a>
, <a class="el" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810aefd4a9ac5353ff0a211b65739916fe74">INT_2300_mv</a>
, <a class="el" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a36c01036ede97eb0d7942ae520b8ed0e">INT_2500_mv</a>
, <br />
&#160;&#160;<a class="el" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810a1aa0d2447e507de873e5c7d19782058d">INT_2700_mv</a>
<br />
 }</td></tr>
<tr class="memdesc:a2431943c0d4f3e45d7afe0d9acc6e810"><td class="mdescLeft">&#160;</td><td class="mdescRight">BOD中断触发电平，0 1.9v 1 2.1v 2 2.3v 3 2.5v 4 2.7v  <a href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810">更多...</a><br /></td></tr>
<tr class="separator:a2431943c0d4f3e45d7afe0d9acc6e810"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a1783b815633506a29d2b78577773ad"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ad">BOD_RstV_t</a> { <a class="el" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773adaf53943f6d19a0fa5c7622c36bc80a34b">RST_1700_mv</a> = 0
, <a class="el" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ada4bb6f89d0ac77fbbf7b01f1b9ed922ef">RST_1900_mv</a>
, <a class="el" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773adab0053037f065c703d76e755aeafe8d2c">RST_2100_mv</a>
, <a class="el" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ada5885e56aba910aa4a64b56ce818399ae">RST_2700_mv</a>
 }</td></tr>
<tr class="memdesc:a6a1783b815633506a29d2b78577773ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">BOD复位电平，0 1.7v 1 1.9v 2 2.1v 3 2.7v  <a href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ad">更多...</a><br /></td></tr>
<tr class="separator:a6a1783b815633506a29d2b78577773ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a99efe992c47bbdf10b89a9a7e327e200"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__bod_8h.html#a99efe992c47bbdf10b89a9a7e327e200">BOD_Init</a> (<a class="el" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810">BOD_IntV_t</a> int_v, <a class="el" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ad">BOD_RstV_t</a> rst_v, uint8_t int_en)</td></tr>
<tr class="memdesc:a99efe992c47bbdf10b89a9a7e327e200"><td class="mdescLeft">&#160;</td><td class="mdescRight">欠压检测  <a href="dev__bod_8h.html#a99efe992c47bbdf10b89a9a7e327e200">更多...</a><br /></td></tr>
<tr class="separator:a99efe992c47bbdf10b89a9a7e327e200"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >低电压触发配置 </p>
<p >/ </p><dl class="section since"><dt>自从</dt><dd>Change Logs: Date Author Notes 2022-12-08 lzh the first version </dd></dl>
<dl class="section remark"><dt>备注</dt><dd>/</dd></dl>
<dl class="section attention"><dt>注意</dt><dd></dd></dl>
<p>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, SYNWIT SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONN- -ECTION WITH THEIR PRODUCTS.</p>
<dl class="section copyright"><dt>版权所有</dt><dd>2012 Synwit Technology </dd></dl>

<p class="definition">在文件 <a class="el" href="dev__bod_8h_source.html">dev_bod.h</a> 中定义.</p>
</div><h2 class="groupheader">枚举类型说明</h2>
<a id="a2431943c0d4f3e45d7afe0d9acc6e810" name="a2431943c0d4f3e45d7afe0d9acc6e810"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2431943c0d4f3e45d7afe0d9acc6e810">&#9670;&#160;</a></span>BOD_IntV_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810">BOD_IntV_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>BOD中断触发电平，0 1.9v 1 2.1v 2 2.3v 3 2.5v 4 2.7v </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a2431943c0d4f3e45d7afe0d9acc6e810aaf1e474298b85c65edb7e5ac45b2c657" name="a2431943c0d4f3e45d7afe0d9acc6e810aaf1e474298b85c65edb7e5ac45b2c657"></a>INT_1900_mv&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a2431943c0d4f3e45d7afe0d9acc6e810a3cfaa11079b6f739323ab826097f0ff1" name="a2431943c0d4f3e45d7afe0d9acc6e810a3cfaa11079b6f739323ab826097f0ff1"></a>INT_2100_mv&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a2431943c0d4f3e45d7afe0d9acc6e810aefd4a9ac5353ff0a211b65739916fe74" name="a2431943c0d4f3e45d7afe0d9acc6e810aefd4a9ac5353ff0a211b65739916fe74"></a>INT_2300_mv&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a2431943c0d4f3e45d7afe0d9acc6e810a36c01036ede97eb0d7942ae520b8ed0e" name="a2431943c0d4f3e45d7afe0d9acc6e810a36c01036ede97eb0d7942ae520b8ed0e"></a>INT_2500_mv&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a2431943c0d4f3e45d7afe0d9acc6e810a1aa0d2447e507de873e5c7d19782058d" name="a2431943c0d4f3e45d7afe0d9acc6e810a1aa0d2447e507de873e5c7d19782058d"></a>INT_2700_mv&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">在文件 <a class="el" href="dev__bod_8h_source.html">dev_bod.h</a> 第 <a class="el" href="dev__bod_8h_source.html#l00028">28</a> 行定义.</p>

</div>
</div>
<a id="a6a1783b815633506a29d2b78577773ad" name="a6a1783b815633506a29d2b78577773ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a1783b815633506a29d2b78577773ad">&#9670;&#160;</a></span>BOD_RstV_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ad">BOD_RstV_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>BOD复位电平，0 1.7v 1 1.9v 2 2.1v 3 2.7v </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a6a1783b815633506a29d2b78577773adaf53943f6d19a0fa5c7622c36bc80a34b" name="a6a1783b815633506a29d2b78577773adaf53943f6d19a0fa5c7622c36bc80a34b"></a>RST_1700_mv&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a6a1783b815633506a29d2b78577773ada4bb6f89d0ac77fbbf7b01f1b9ed922ef" name="a6a1783b815633506a29d2b78577773ada4bb6f89d0ac77fbbf7b01f1b9ed922ef"></a>RST_1900_mv&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a6a1783b815633506a29d2b78577773adab0053037f065c703d76e755aeafe8d2c" name="a6a1783b815633506a29d2b78577773adab0053037f065c703d76e755aeafe8d2c"></a>RST_2100_mv&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a6a1783b815633506a29d2b78577773ada5885e56aba910aa4a64b56ce818399ae" name="a6a1783b815633506a29d2b78577773ada5885e56aba910aa4a64b56ce818399ae"></a>RST_2700_mv&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">在文件 <a class="el" href="dev__bod_8h_source.html">dev_bod.h</a> 第 <a class="el" href="dev__bod_8h_source.html#l00037">37</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="a99efe992c47bbdf10b89a9a7e327e200" name="a99efe992c47bbdf10b89a9a7e327e200"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99efe992c47bbdf10b89a9a7e327e200">&#9670;&#160;</a></span>BOD_Init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void BOD_Init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="dev__bod_8h.html#a2431943c0d4f3e45d7afe0d9acc6e810">BOD_IntV_t</a>&#160;</td>
          <td class="paramname"><em>int_v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dev__bod_8h.html#a6a1783b815633506a29d2b78577773ad">BOD_RstV_t</a>&#160;</td>
          <td class="paramname"><em>rst_v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>int_en</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>欠压检测 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">BOD_IntV_t</td><td>: 低电压触发阈值 </td></tr>
    <tr><td class="paramname">BOD_RstV_t</td><td>: 低电压复位阈值 </td></tr>
    <tr><td class="paramname">int_en</td><td>: 0-失能低电压触发中断 1-使能低电压触发中断 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>该功能默认为常开状态, 上电后默认配置 1.7V 产生复位,失能中断. </dd></dl>

<p class="definition">在文件 <a class="el" href="dev__bod_8c_source.html">dev_bod.c</a> 第 <a class="el" href="dev__bod_8c_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
